<header id="header" class="container">
        <div class="logo">
            <a href="<?php echo base_url();?>" title="walkdentalcare.com" class="logo">
                <img src="<?php echo base_url();?>images/logo.png" alt="walkdentalcare" />
            </a>
        </div>
            <div class="dt_tampon"></div>
            <div class="dt_connexion_recherche">

                <div class="bloc_espacce">
                    <?php 
                if($logged_in=="patient") {
                    echo "<a href='".base_url()."logout'><span class='espace_patient'>".$this->lang->line('deconnexion')."</span></a>";
                    echo "<a href='#' class='espace_clinique_header'>".$this->lang->line('espace_clinic')."</a>";
                } else if($logged_in=="clinic"){
                    echo "<a href='#' class='espace_patient_header'>".$this->lang->line('espace_patient')."</a>";
                    echo "<a href='".  base_url()."logout'><span class='espace_clinic'>".$this->lang->line('deconnexion')."</span></a>";
                } else {
                    echo "<a href='#' class='espace_patient_header'>".$this->lang->line('espace_patient')."</a>";
                    echo "<a href='#' class='espace_clinique_header'>".$this->lang->line('espace_clinic')."</a>";
                }
                    ?>
                    <div class="connexion cnx-patient" id="connexion cnx-patient">
                    <div class="triangle"></div>
                        <form method="post" action="<?php echo base_url(); ?>patient/connexionPatient">
                                <table cellpadding="0" cellspacing="0" border="0">
                                <tr>
                                    <td><label for="email_patient"><?php echo $this->lang->line('email');?></label></td>
                                </tr>
                                <tr><td height="5"></td></tr>
                                <tr>
                                        <td><input type="email" id="email" name="email" /></td>
                                </tr>
                                <tr><td height="10"></td></tr>
                                <tr>
                                    <td><label for="mdpP"><?php echo $this->lang->line('mdp');?></label></td>
                                </tr>
                                <tr><td height="5"></td></tr>
                                <tr>
                                    <td><input type="password" id="password_patient" name="password_patient"/></td>
                                </tr>
                                <tr><td><a href="#" class="motDePassOublie"><?php echo $this->lang->line('mdp_oubli');?></a></td></tr>
                            </table>
                            <input type="submit" value="GO" class="go_rech" />
                        </form>
                    </div>
                    <div class="connexion cnx-cliniq" id="connexion cnx-cliniq">
                    <div class="triangle"></div>
                        <form method="post" action="<?php echo base_url(); ?>clinic/connexionClinic" >
                                <table cellpadding="0" cellspacing="0" border="0">
                                <tr>
                                        <td><label><?php echo $this->lang->line('email');?></label></td>
                                </tr>
                                <tr><td height="5"></td></tr>
                                <tr>
                                    <td><input type="email" id="email" name="email" /></td>
                                </tr>
                                <tr><td height="10"></td></tr>
                                <tr>
                                        <td><label><?php echo $this->lang->line('mdp');?></label></td>
                                </tr>
                                <tr><td height="5"></td></tr>
                                <tr>
                                        <td><input type="password" id="password_clinic" name="password_clinic" /></td>
                                </tr>
                                <tr><td><a href="#" class="motDePassOublie"><?php echo $this->lang->line('mdp_oubli');?></a></td></tr>
                            </table>
                            <input type="submit" value="GO" class="go_rech" />
                        </form>
                    </div>
                </div>

                <div class="mod_recherche">

                        <div class="title_recherche_clinique pull-left"><?php echo $this->lang->line('find_cli');?></div>
                        <div class="pull-left blanc"></div>
                        <div class="clear"></div>
                    <div class="formulaire_rech">

                    <form method="post" action="" class="form_mod_rec">
                    <table cellpadding="0" cellspacing="0" border="0" width="100%">
                        <tr>
                        <td width="48%">
                            <input type="text"placeholder="<?php echo $this->lang->line('pays');?>" class="select-pays input-rec"/>
                        </td>
                        <td width="2%"></td>
                        <td><input type="text"  placeholder="<?php echo $this->lang->line('ville');?> "class="select-ville input-rec"/></td>
                        </tr>
                    </table>
                    <table cellpadding="0" cellspacing="0" border="0">
                        <tr><td height="7"></td></tr>
                                                        <tr>
                                <td width="100%"><input type="text" class="input-rec recrec" placeholder="Votre recherche"/></td>
                                                        </tr>
                        <tr><td height="7"></td></tr>
                        <tr>
                                <td width="50%"><input type="text" class="input-rec" placeholder="Langue de communication" /></td>
                            <td width="2%"></td>
                                <td><input type="submit" class="dt_but_red" value="<?php echo $this->lang->line('btn_recherche');?>" /></td>
                        </tr>
                    </table>
                        </form>    
                </div>
                </div>

                <div class="ombre-mod-recherhce"></div>
            </div>
            <div class="clear"></div>
            <nav class="main_nav">
                <div class="elt1"></div>
                <div class="elt2"></div>
                <?php 
                if ($logged_in=="patient") {
                echo "<div class='etat-connecT-voreProfil'><a href='".base_url()."patient/espace_patient'>".$this->lang->line('votre_espace_patient')."</a></div>";
                } elseif ($logged_in=="clinic") {
                echo "<div class='etat-connecT-voreProfil'><a href='".base_url()."clinic/espace_clinic'>".$this->lang->line('votre_espace_clinic')."</a></div>";
                    }  
                 ?>
                <ul id="navnav">
                        <li><a id="accueil" href="#" class="home_nav"></a></li>
                        <li><a id="les_cliniques" href="#"><?php echo $this->lang->line('clinic');?></a></li>
                        <li><a id="comment_ca_marche" href="#"><?php echo $this->lang->line('comment_ca_marche');?></a></li>
                        <li><a id="nous_contacter" href="#"><?php echo $this->lang->line('nous_contacter');?></a></li>
                        <li class="dt_langue"><a href="#" class="leslangues"><?php echo $this->lang->line('lg');?></a>
                        <ul>
                                <li><a id="langue_fr" href="<?php echo base_url();?>fr"><?php echo $this->lang->line('fr');?></a></li>
                                <li><a id="langue_en" href="<?php echo base_url();?>en"><?php echo $this->lang->line('en');?></a></li>
                                <li><a id="langue_de" href="<?php echo base_url();?>de"><?php echo $this->lang->line('de');?></a></li>
                        </ul>
                    </li>
                </ul>
            </nav>
</header>
